* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #409EFF;
    --success-color: #67C23A;
    --warning-color: #E6A23C;
    --danger-color: #F56C6C;
    --text-color: #2c3e50;
    --border-radius: 12px;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: var(--text-color);
    line-height: 1.6;
}

.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: linear-gradient(135deg, #409EFF, #36cccb);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--card-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.user-info i {
    font-size: 1.2rem;
}

.logout {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.logout:hover {
    background: rgba(255, 255, 255, 0.3);
}

.main-container {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.action-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.action-card:hover::before {
    opacity: 1;
}

.action-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.action-card span {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.form-container h2 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.form-item {
    margin-bottom: 20px;
}

.form-item label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.el-input, .el-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.el-input:focus, .el-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
    outline: none;
}

textarea.el-input {
    min-height: 120px;
    resize: vertical;
}

.el-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.el-button.primary {
    background: var(--primary-color);
    color: white;
}

.el-button.primary:hover {
    background: #66b1ff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .main-container {
        padding: 15px;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-container {
        padding: 20px;
    }

    .el-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-actions {
        flex-direction: column;
    }
}

.status-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-top: 20px;
}

.el-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.el-table th {
    background: #f5f7fa;
    padding: 15px;
    font-weight: 500;
    text-align: left;
    color: var(--text-color);
}

.el-table td {
    padding: 15px;
    border-bottom: 1px solid #ebeef5;
}

.urgency-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
}

.urgency-high {
    background: rgba(245, 108, 108, 0.1);
    color: var(--danger-color);
}

.urgency-medium {
    background: rgba(230, 162, 60, 0.1);
    color: var(--warning-color);
}

.urgency-low {
    background: rgba(103, 194, 58, 0.1);
    color: var(--success-color);
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #dcdfe6;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
}

.file-upload-label i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--primary-color);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 